package cn.nuist.dao;

import cn.nuist.entity.Supplier;

import java.util.List;

public interface SupplierDao {

    List<Supplier> getAllSupplier ();

    void add(Supplier supplier);

    Supplier getSupplierByPhone(String contactPhone);

    Supplier getSupplierByName(String supplierName);

    void delete(int supplierID);

    Supplier getSupplierById(int supplierID);

    void update(Supplier supplier);
}
